package com.zl.service;

import java.util.List;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.system.common.mapper.SysParamMapper;
import com.system.common.pojo.SysParam;
import com.system.common.pojo.SysParamExample;

@Service
public class ZlSysParamServiceImpl implements ZlSysParamService{

	@Autowired
	private SysParamMapper sysParamMapper;
	

	@Override
	public List<SysParam> selectByExample(Map<String, Object> map) {
		String subscribeDeposit=(String) map.get("paramKey");
		
		SysParamExample example=new SysParamExample();
		com.system.common.pojo.SysParamExample.Criteria criteria=example.createCriteria();
		
			criteria.andParamKeyEqualTo(subscribeDeposit);
		
		return this.sysParamMapper.selectByExample(example);
	}

	@Override
	public SysParam selectByPrimaryKey(String paramId) {
		// TODO Auto-generated method stub
		return null;
	}

	

}
